package com.item.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.item.pojo.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EmpMapper extends BaseMapper<Emp> {

    public List<Emp> findPage(@Param("empName") String empName, @Param("phone") String phone, @Param("storeName") String storeName);


    public int updateEmpState(@Param("id") Integer id, @Param("state") Integer state);

    public int updateEmpInfo(@Param("emp") Emp emp);
}
